<template>
	<view class="active">
		<view class="conteng">
			<block v-for="(item,index) in recomment">
				<view class="conteng-article">
					<view class="conteng-img" @click="navgetto(recomment[index]._id)">
						<image :src="recomment[index].wholedata.Coverimg" mode="aspectFill"></image>
					</view>
					<view class="conteng-introduce">
						<view class="active-name">{{recomment[index].wholedata.title}}</view>
						<view class="active-title">{{recomment[index].wholedata.describe}}</view>
						<view class="active-lable">{{recomment[index].wholedata.typedata}}</view>
						<view class="purchase">
							<text class="active-price">￥{{recomment[index].wholedata.price}}</text>
							<!-- <text class="active-buy">{{item.buy}}</text> -->
						</view>
					</view>
				</view>
			</block>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			recomment:Array
		},
		data() {
			return {
				
			}
		},
		methods:{
			navgetto(openid){
				// console.log(openid)
				wx.navigateTo({
					url:'../business/business?id='+openid
				})
			}
		},
		
	}
</script>

<style scoped>
	@import '../../../element/uni.css';
	
</style>
